<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "" "">
<f:view xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:w="http://www.apusic.com/jsf/widget" xmlns:layout="http://www.apusic.com/jsf/layout"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:ajax="http://www.apusic.com/jsf/ajax"
	xmlns:om="http://www.apusic.com/jsf/misc" renderKitId="AJAX" xmlns:epm="http://www.bp.com.cn/epm">
	<w:head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<w:stylesheet src="/css/kmp4.css" type="text/css"></w:stylesheet>
		<w:script src="/javascript/k4.js" type="text/javascript" language="UTF-8"></w:script>
	</w:head>
	<w:page title="查看机构信息">
		<layout:borderLayout fitToBody="true">
			<layout:panel region="center" fit="true" autoScroll="true" split="true" border="false"
				styleClass="k4-combineform">
				<layout:panelGrid columns="2" cellpadding="0" cellspacing="0" border="1"
					styleClass="k4-combineform-grid">
					<layout:cell styleClass="k4-form-fieldtitle">
						<h:outputLabel value="机构编号" />
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldvalue">
						<h:outputText id="unitCode"></h:outputText>
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldtitle">
						<h:outputLabel value="机构名称" />
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldvalue">
						<h:outputText id="name"></h:outputText>
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldtitle">
						<h:outputLabel value="上级机构" />
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldvalue">
						<h:outputText id="parentCentralUnitId" converter="orgNameFormatter"></h:outputText>
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldtitle">
						<h:outputLabel value="是否有效" />
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldvalue">
						<h:outputText id="enable" converter="yesNoFormatter"></h:outputText>
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldtitle">
						<h:outputLabel value="序列号" />
					</layout:cell>
					<layout:cell styleClass="k4-form-fieldvalue">
						<h:outputText id="indexNumber"></h:outputText>
					</layout:cell>
				</layout:panelGrid>
			</layout:panel>
			<layout:panel region="south" split="true" fit="true" height="200" border="false">
				<layout:tabLayout border="false">
					<layout:panel title="下属部门" lazyload="true" border="false" height="350"
						url="/modules/system/lowerDepartmentListOfOneCentralUnit.faces?unitId=#{system_showCentralUnitBean.centralUnitId}">
					</layout:panel>
					<layout:panel title="下属机构" lazyload="true" border="false"
						url="/modules/system/lowerCentralUnitListOfOneCentralUnit.faces?unitId=#{system_showCentralUnitBean.centralUnitId}">
					</layout:panel>
				</layout:tabLayout>
			</layout:panel>
		</layout:borderLayout>
	</w:page>
</f:view>